using System.Runtime.Serialization;
using RentalOfCars.Domain.Entities;

namespace RentalOfCars.Infrastructure.Entities
{
    [DataContract]
    public class EmployeeClass : IEmployeeClass
    {
        public EmployeeClass(int id, string description)
        {
            Id = id;
            Description = description;
        }

        #region IEmployeeClass Members

        [DataMember]
        public int Id { get; private set; }

        [DataMember]
        public string Description { get; private set; }

        #endregion
    }
}